package com.diandiansong.app.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

import diandiansong.library.utils.BaseEntity;

public class MessageInfo extends BaseEntity {

    @SerializedName("data")
    private List<Data> data;

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    /**
     * 'id': '1',//ID号，分页时需要传输的值
     * 'contents': '恭喜你注册成功',//内容
     * 'createtime': '2018.07.29 20:55:13'//时间
     * }
     */
    public static class Data {

        @SerializedName("id")
        private String id;
        @SerializedName("contents")
        private String contents;
        @SerializedName("createtime")
        private String createtime;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getContents() {
            return contents;
        }

        public void setContents(String contents) {
            this.contents = contents;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }
    }
}